package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

public class Supplier {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("供应商名称")
    private String supplier;
    @ApiModelProperty("联系人")
    private String contacts;
    @ApiModelProperty("联系电话")
    private String phoneNum;
    @ApiModelProperty("电子邮箱")
    private String email;
    @ApiModelProperty("备注")
    private String description;
    @ApiModelProperty("是否系统自带 0==系统 1==非系统")
    private Byte isystem;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("启用")
    private Boolean enabled;
    @ApiModelProperty("预收款")
    private BigDecimal advanceIn;
    @ApiModelProperty("期初应收")
    private BigDecimal beginNeedGet;
    @ApiModelProperty("期初应付")
    private BigDecimal beginNeedPay;
    @ApiModelProperty("累计应收")
    private BigDecimal allNeedGet;
    @ApiModelProperty("累计应付")
    private BigDecimal allNeedPay;
    @ApiModelProperty("传真")
    private String fax;
    @ApiModelProperty("手机")
    private String telephone;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("纳税人识别号")
    private String taxNum;
    @ApiModelProperty("开户行")
    private String bankName;
    @ApiModelProperty("账号")
    private String accountNumber;
    @ApiModelProperty("税率")
    private BigDecimal taxRate;
    @ApiModelProperty("租户id")
    private String tenantId;
    @ApiModelProperty("删除标记，0未删除，1删除")
    private String deleteFlag;
    @ApiModelProperty("信用客户 0-否 1-是")
    private String chequePayment;
    @ApiModelProperty("分类id")
    private String categoryId;
    @ApiModelProperty("价格设置  \n" +
            "1-一级批发价\n" +
            "2-二级批发价\n" +
            "3-三级批发价\n" +
            "4-四级批发价\n" +
            "5-五级批发价\n" +
            "6-零售价\n" +
            "7-最低销售价")
    private String pricePriority;

    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("是否启用支票支付(0:不启用 1:启用)")
    private String isCheck;

    @ApiModelProperty("付款周期 （天）")
    private Integer paymentPeriods;

    @ApiModelProperty("折扣率")
    private BigDecimal discountRate;

    private String custom1;

    private String custom2;

    private String custom3;

    private String custom4;

    private String custom5;

    private BigDecimal custom6;

    private BigDecimal custom7;

    private BigDecimal custom8;

    private BigDecimal custom9;

    private BigDecimal custom10;

    private Integer custom11;

    private Integer custom12;

    private Integer custom13;

    private Integer custom14;

    private Integer custom15;

    private String syncTenantId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier == null ? null : supplier.trim();
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts == null ? null : contacts.trim();
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum == null ? null : phoneNum.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Byte getIsystem() {
        return isystem;
    }

    public void setIsystem(Byte isystem) {
        this.isystem = isystem;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public BigDecimal getAdvanceIn() {
        return advanceIn;
    }

    public void setAdvanceIn(BigDecimal advanceIn) {
        this.advanceIn = advanceIn;
    }

    public BigDecimal getBeginNeedGet() {
        return beginNeedGet;
    }

    public void setBeginNeedGet(BigDecimal beginNeedGet) {
        this.beginNeedGet = beginNeedGet;
    }

    public BigDecimal getBeginNeedPay() {
        return beginNeedPay;
    }

    public void setBeginNeedPay(BigDecimal beginNeedPay) {
        this.beginNeedPay = beginNeedPay;
    }

    public BigDecimal getAllNeedGet() {
        return allNeedGet;
    }

    public void setAllNeedGet(BigDecimal allNeedGet) {
        this.allNeedGet = allNeedGet;
    }

    public BigDecimal getAllNeedPay() {
        return allNeedPay;
    }

    public void setAllNeedPay(BigDecimal allNeedPay) {
        this.allNeedPay = allNeedPay;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax == null ? null : fax.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getTaxNum() {
        return taxNum;
    }

    public void setTaxNum(String taxNum) {
        this.taxNum = taxNum == null ? null : taxNum.trim();
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber == null ? null : accountNumber.trim();
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId == null ? null : tenantId.trim();
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
    }

    public String getChequePayment() {
        return chequePayment;
    }

    public void setChequePayment(String chequePayment) {
        this.chequePayment = chequePayment == null ? null : chequePayment.trim();
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }

    public String getPricePriority() {
        return pricePriority;
    }

    public void setPricePriority(String pricePriority) {
        this.pricePriority = pricePriority == null ? null : pricePriority.trim();
    }

    public String getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(String uploadFlag) {
        this.uploadFlag = uploadFlag == null ? null : uploadFlag.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(String isCheck) {
        this.isCheck = isCheck == null ? null : isCheck.trim();
    }

    public Integer getPaymentPeriods() {
        return paymentPeriods;
    }

    public void setPaymentPeriods(Integer paymentPeriods) {
        this.paymentPeriods = paymentPeriods;
    }

    public BigDecimal getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(BigDecimal discountRate) {
        this.discountRate = discountRate;
    }

    public String getCustom1() {
        return custom1;
    }

    public void setCustom1(String custom1) {
        this.custom1 = custom1 == null ? null : custom1.trim();
    }

    public String getCustom2() {
        return custom2;
    }

    public void setCustom2(String custom2) {
        this.custom2 = custom2 == null ? null : custom2.trim();
    }

    public String getCustom3() {
        return custom3;
    }

    public void setCustom3(String custom3) {
        this.custom3 = custom3 == null ? null : custom3.trim();
    }

    public String getCustom4() {
        return custom4;
    }

    public void setCustom4(String custom4) {
        this.custom4 = custom4 == null ? null : custom4.trim();
    }

    public String getCustom5() {
        return custom5;
    }

    public void setCustom5(String custom5) {
        this.custom5 = custom5 == null ? null : custom5.trim();
    }

    public BigDecimal getCustom6() {
        return custom6;
    }

    public void setCustom6(BigDecimal custom6) {
        this.custom6 = custom6;
    }

    public BigDecimal getCustom7() {
        return custom7;
    }

    public void setCustom7(BigDecimal custom7) {
        this.custom7 = custom7;
    }

    public BigDecimal getCustom8() {
        return custom8;
    }

    public void setCustom8(BigDecimal custom8) {
        this.custom8 = custom8;
    }

    public BigDecimal getCustom9() {
        return custom9;
    }

    public void setCustom9(BigDecimal custom9) {
        this.custom9 = custom9;
    }

    public BigDecimal getCustom10() {
        return custom10;
    }

    public void setCustom10(BigDecimal custom10) {
        this.custom10 = custom10;
    }

    public Integer getCustom11() {
        return custom11;
    }

    public void setCustom11(Integer custom11) {
        this.custom11 = custom11;
    }

    public Integer getCustom12() {
        return custom12;
    }

    public void setCustom12(Integer custom12) {
        this.custom12 = custom12;
    }

    public Integer getCustom13() {
        return custom13;
    }

    public void setCustom13(Integer custom13) {
        this.custom13 = custom13;
    }

    public Integer getCustom14() {
        return custom14;
    }

    public void setCustom14(Integer custom14) {
        this.custom14 = custom14;
    }

    public Integer getCustom15() {
        return custom15;
    }

    public void setCustom15(Integer custom15) {
        this.custom15 = custom15;
    }

    public String getSyncTenantId() {
        return syncTenantId;
    }

    public void setSyncTenantId(String syncTenantId) {
        this.syncTenantId = syncTenantId == null ? null : syncTenantId.trim();
    }
}
